use dicom::object::open_file;

fn main() {
    println!("Hello, world!");
}

fn create_dcm() {
    println!("Creating DCM...");
}

fn read_dcm() {
    println!("Reading DCM...");
    let dcm_obj = open_file("data/BasicTextSR.dcm").unwrap();
    let patient_name = dcm_obj.element_by_name("PatientName").unwrap().to_str().unwrap();
    println!("Patient Name: {}", patient_name);
}
